package com.hxx.day4;

public class TestDemo3 {
    public static void main(String[] args) {
       Emp[] emps = new Emp[3];
        Emp emp = new Emp();
        emps[0] = emp;
    }
}

class Emp {
    private int id;
    private String name;
    private int age;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}












































